<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
		<title>Yming博客系统</title>
		<link rel="stylesheet" type="text/css" href="{:__TMPLPUB__}/Css/style.css"/>
		<script type="text/javascript" src="{:__TMPLPUB__}/Js/jquery.js"></script>
		<script type="text/javascript" src="{:__TMPLPUB__}/Js/slide.js"></script>
		<script type="text/javascript" src="{:__TMPLPUB__}/Js/check.js"></script>
		
	</head>
	<body>
		<div class="container">
			<table width="757" cellspacing="0" cellpadding="0" border="0" align="center">
				<tr align="right" valign="top">
					<td height="149" background="{:__TMPLPUB__}/Images/F_head.jpg" >
						<div id="head">
							&nbsp;
						</div><!--/head-->
							{if $GLOBALS['___login___']!=false}
									<ul id="menu">
										<li class="level1" style="width:200px;"><a href="{:Dyhb::U('index/index')}">欢迎您:{$GLOBALS['___login___']['regname']}</a></li>
										<li class="level1"><a href="{:Dyhb::U('index/index')}">博客首页</a></li>
										<li class="level1"><a>文章管理</a>
											<ul>
												<li><a href="{:Dyhb::U('article/add')}">添加文章</a></li>
												<li><a href="{:Dyhb::U('article/xlist')}">我的文章</a></li>
											</ul>
										</li>
										<li class="level1"><a>图片管理</a>
											<ul>
												<li><a>2</a></li>
												<li><a>2</a></li>
												<li><a>2</a></li>
												<li><a>2</a></li>
											</ul>
										</li>
										<li class="level1"><a>好友管理</a>
											<ul>
												<li><a>3</a></li>
												<li><a>3</a></li>
												<li><a>3</a></li>
												<li><a>3</a></li>
											</ul>
										</li>
										<li class="level1"><a href="{:Dyhb::U('user/logout')}">退出登录</a></li>
									</ul>
							{/if}
					</td>
				</tr>
				<!--/header-->
				<tr>
					<td height="501" background="{:__TMPLPUB__}/Images/bg.jpg"  class="label_vtl"  >
						<div style="margin:20px 10% 0px 10%;" class="_table">
							<form action="{:Dyhb::U('article/add_deal')}" method="post" name="article_form">
								<table width="100%" border="1" cellspacing="0" cellpadding="0">
									<tr >
										<td colspan="2" class="left h1 font_bold">
											添加文章
										</td>
									</tr>
									<tr>
										<td  width="15%">
											<label for="article_title">文章标题:</label>
										</td>
										<td width="85%" class="left">
											<input type="text" size="30" name="article_title" id="article_title" value="标题" /><span id="atl_title" style="color:gray;"> 5-100个字符</span>
											<font color=red>*</font>
										</td>
									</tr>
									<tr>
										<td>
											文字编辑:
										</td>
										<td>
										</td>
									</tr>
									<tr>
										<td >
											<label for="article_contents">文章内容:</label>
										</td>
										<td class="left">
											<textarea rows="10" cols="50" name="article_contents" id="article_contents" style="resize:none;">今天,你发表日志了么?</textarea>
											<span id="atl_content" style="color:gray;">6-1000个字符</span>
										</td>
									</tr>
									<tr>
										<td colspan="2" class="center">
											<input type="submit" name="article_sub" value="发表" onclick="javascript:return artcheck();"/>
											<input type="reset"  name="article_reset" value="重写" />
										</td>
									</tr>
								</table>
							</form>
						</div><!--/_table-->
					</td>
				</tr>
			</table>
		</div><!--/container-->
	</body>
</html>
